You can easily convert enumerations to the underlying type by using the appropriate operator, as shown in the following code.
通过使用适当的运算符,可以轻松地将枚举转换为基础类型,如以下代码中所示。
Instead it adds an annotation to the field which informs the visual editor that the underlying type of this collection is String.
相反,它是为字段增加了注释,向可视化编辑器说明这一集合的隐藏类型为字符串。
This is because MonoDevelop is smart enough to look at the actual underlying type of the outlet and create a property of the appropriate type.
这是因为MonoDevelop足够智能,可以查看outlet背后实际的类型,以便创建适合类型的属性。
应用推荐